Previous | Table of Contents | Next |
III-188 Do you create a lot of pages dynamically on your Web site (who doesnt anymore)? You may want to adjust this parameter so that objects dont stay in cache too long.
Hive: | HKEY_LOCAL_MACHINE |
Key: | System\CurrentControlSet\Services\InetInfo\Parameters |
Add the following value under the Parameters key:
Value Name: | ObjectCacheTTL |
Data Type: | REG_DWORD |
Value: | 30 |
The value specifies the number of seconds any object stays in the cache; 30 seconds is the default value. If an object is not accessed during this time, it is removed from the cache memory. If your system is constrained by limited memory, reducing the value causes the system to use less memory.
III-189 If you have a lot of users with individual accounts accessing your system, changing this value should improve your performance, too.
Hive: | HKEY_LOCAL_MACHINE |
Key: | System\CurrentControlSet\Services\InetInfo\Parameters |
Add the following value under the Parameters key:
Value Name: | UserTokenTTL |
Data Type: | REG_DWORD |
Value: | 900 |
The security information for each user helps create a user token on the server that is used to access files or other resources. The token is cached so that verification takes place only the first time the account is accessed (or until the token falls out of the cache). This value determines in seconds how long the token remains in cache. The default is 900 seconds (15 minutes).
III-190 To change the default download path for Internet Explorer 3.0 on any machine (even a remote machine), use this registry value.
Hive: | HKEY_CURRENT_USER |
Key: | Software\Microsoft\InternetExplorer |
Change the Value for DownloadDirectory under the InternetExplorer key.
Value Name: | DownloadDirectory |
Data Type: | REG_SZ |
Value: | < fully qualified path and directory > |
Restart Internet Explorer for the changes to take effect.
III-191 Are you tired of looking at the same old boring Times New Roman font in Internet Explorer? This example changes the default font from Times New Roman to Wide Latin. Changing this entry changes all references to the default font in your style sheets and thus in Explorer.
Hive: | HKEY_CURRENT_USER |
Key: | Software\Microsoft\Internet Explorer\Styles |
Value Name: | IEPropFontName |
Data Type: | REG_SZ |
Value: | Wide Latin |
III-192 Problem: You have the same problem with boring fonts, but you dont want to just change fonts. Instead, you want certain headers to be bold and others to be italic. You need to modify the style sheets Internet Explorer uses and then change the default style sheet. First, lets modify the style sheets.
Hive: | HKEY_LOCAL_MACHINE |
Key: | Software\Microsoft\Internet Explorer\Styles |
Each Style sheet has the following thirteen parts:
Each font has a value in the following format:
Style_Sheet_Name_html_type:REG_SZ:Fontname,Bold Toggle,Font Size,Italic Toggle,Underline Toggle.
In our example, for the Style Sheet SerifSmallest, we change Header 3 to Wide Latin and Header 4 to Wide Latin not bold with a size of 12 points.
Value Name: | SerifSmallest_H3_font |
Data Type: | REG_SZ |
Value: | Wide Latin,Bold,10,NoItalic,NoUnderline |
Value Name: | SerifSmallest_H4_font |
Data Type: | REG_SZ |
Value: | Wide Latin,NoBold,12,NoItalic,NoUnderline |
III-193 Now we change Internet Explorers default style sheet.
Hive: | HKEY_CURRENT_USER |
Key: | Software\Microsoft\Internet Explorer\Styles |
Value Name: | Default_Style_Sheet |
Data Type: | REG_SZ |
Value: | SerifSmallest |
If you have Internet Explorer running, exit it and reload. Your new style sheet is in place.
Previous | Table of Contents | Next |